home *** CD-ROM | disk | FTP | other *** search
- %%BeginProlog
- /Level2 /languagelevel where {
- pop languagelevel 2 ge { true } { false } ifelse
- } { false } ifelse def
-
- Level2 not {
- %%BeginResource : procset_Adobe_Patterns_L1.0 0
- /PATDict 3 dict def
- /PATcg {
- 7 dict dup begin /lw currentlinewidth def /lc currentlinecap def
- /lj currentlinejoin def /ml currentmiterlimit def /ds [ currentdash ] def
- /cc [ currentrgbcolor ] def /cm matrix currentmatrix def end
- } bind def
-
- /PATsg {
- begin
- lw setlinewidth
- lc setlinecap
- lj setlinejoin
- ml setmiterlimit
- ds aload pop setdash
- cc aload pop setrgbcolor
- cm setmatrix
- end
- } bind def
-
- /setcmykcolor where { pop } {
- /setcmykcolor {
- 1 sub 4 1 roll
- 3 { 3 index add neg dup 0 lt { pop 0 } if 3 1 roll } repeat
- setrgbcolor pop } bind def
- } ifelse
-
- /PATsc { aload length
- dup 1 eq { pop setgray } { 3 eq { setrgbcolor } { setcmykcolor } ifelse } ifelse
- } bind def
-
- /PATtcalc {
- gsave exch concat matrix currentmatrix exch
- 2 ne { dup 4 get exch dup 5 get exch
- XStep 0 dtransform round exch round exch
- XStep div exch XStep div exch
- 0 YStep dtransform round exch round exch
- YStep div exch YStep div exch
- 7 -3 roll astore
- } if grestore } bind def
-
- /PATmp {
- exch dup length 8 add
- dict copy
- begin
- TilingType PATtcalc
- /PatternGState PATcg def
- PatternGState /cm 3 -1 roll put
- currentdict /Multi known not { /Multi 1 def } if
- /FontType 3 def /Encoding 256 array def
- 3 string 0 1 255 { Encoding exch dup 3 index cvs cvn put } for pop
- /FontMatrix matrix def /FontBBox BBox def /BuildChar {
- mark 3 1 roll exch begin
- Multi 1 ne { PaintData exch get } { pop } ifelse
- PaintType 2 eq Multi 1 ne or
- { XStep 0 FontBBox aload pop setcachedevice }
- { XStep 0 setcharwidth } ifelse
- currentdict
- /PaintProc load end
- gsave false PATredef exec true PATredef grestore
- cleartomark
- } bind def
- currentdict
- end
- /foo exch definefont
- } bind def
-
- /PATpcalc {
- PATDict /CurrentPattern get begin
- gsave PatternGState /cm get setmatrix
- BBox aload pop pop pop translate
- pathbbox grestore
- YStep div ceiling 4 1 roll XStep div ceiling 4 1 roll
- YStep div floor 4 1 roll XStep div floor 4 1 roll
- 2 index sub cvi abs exch 3 index sub cvi abs exch 4 2 roll
- YStep mul exch XStep mul exch end
- } bind def
-
- /PATfill {
- PATDict /CurrentPattern get dup begin
- setfont PatternGState PATsg
- PaintType 2 eq { PATDict /PColor get PATsc } if
- 3 index string 0 1 Multi 1 sub { 3 index 3 index moveto
- Multi 1 ne { dup PaintColors exch get PATsc } if
- 0 1 7 index 1 sub { 2 index exch 2 index put } for pop
- 3 index { currentpoint 2 index show
- YStep add moveto } repeat } for 5 { pop } repeat end
- } bind def
-
- /oldfill /fill load def
- /oldeofill /eofill load def
- /oldstroke /stroke load def
- /oldshow /show load def
- /oldashow /ashow load def
- /oldwidthshow /widthshow load def
- /oldawidthshow /awidthshow load def
- /oldkshow /kshow load def
-
- /PATredef {
- userdict begin {
- /fill { /clip load PATdraw newpath } bind def
- /eofill { /eoclip load PATdraw newpath } bind def
- /stroke { PATstroke } bind def
- /show { 0 0 null 0 0 6 -1 roll PATawidthshow } bind def
- /ashow { 0 0 null 6 3 roll PATawidthshow } bind def
- /widthshow { 0 0 3 -1 roll PATawidthshow } bind def
- /awidthshow { PATawidthshow } bind def
- /kshow { PATkshow } bind def } {
- /fill { oldfill } bind def
- /eofill { oldeofill } bind def
- /stroke { oldstroke } bind def
- /show { oldshow } bind def
- /ashow { oldashow } bind def
- /widthshow { oldwidthshow } bind def
- /awidthshow { oldawidthshow } bind def
- /kshow { oldkshow } bind def } ifelse
- end } bind def
- false PATredef
-
- /PATdraw {
- save exch PATpcalc 5 -1 roll exec newpath PATfill restore
- } bind def
-
- /PATstroke {
- countdictstack save mark {
- currentpoint (Strokepath) = strokepath moveto
- PATpcalc (Clip) = clip newpath
- (PATfill) = PATfill } stopped {
- (*** PATstroke Warning: Path is too complex, stroking with gray) =
- cleartomark restore
- countdictstack exch sub dup 0 gt { { end } repeat } { pop } ifelse
- gsave 0.5 setgray oldstroke grestore } { pop restore pop } ifelse newpath
- } bind def
-
- /PATsstr 1 string def
-
- /PATawidthshow { {
- dup PATsstr dup 0 4 -1 roll put false charpath
- /clip load PATdraw currentpoint newpath moveto
- 3 index eq { 4 index 4 index rmoveto } if
- 2 copy rmoveto } forall pop pop pop pop pop
- currentpoint newpath moveto
- } bind def
-
- /PATkshow {
- exch bind 1 index 0 get 0 1 4 index length 2 sub
- { 3 index exch 1 add get exch 2 copy
- PATsstr dup 0 4 -1 roll put false charpath
- /clip load PATdraw currentpoint newpath moveto
- mark 3 1 roll 4 index exec cleartomark } for
- PATsstr dup 0 4 -1 roll put false charpath
- /clip load PATdraw currentpoint newpath moveto pop pop
- } bind def
-
- /PATsp {
- true PATredef PATDict begin
- /CurrentPattern exch def CurrentPattern /PaintType get 2 eq {
- /PColor exch def } if
- /CColor [ currentrgbcolor ] def end
- } bind def
-
- /PATusp {
- false PATredef PATDict begin CColor aload pop setrgbcolor end
- } bind def
- %%EndResource
- } if
- Level2 not { save } if Level2 {
- %%BeginResource : procset_Adobe_Patterns_L1.0 0
- /PATDict 3 dict def
-
- /PATsc {
- mark exch aload pop
- counttomark 1 eq { setgray } if
- counttomark 3 eq { setrgbcolor } if
- counttomark 4 eq { setcmykcolor } if
- counttomark 0 ne { setcolor } if
- cleartomark
- } bind def
-
- /PATmp {
- exch dup length 2 add dict copy begin
- currentdict /Multi known not { /Multi 1 def } if
- Multi 1 ne { /UserProc /PaintProc load def /PaintProc { begin
- 0 1 Multi 1 sub { PaintColors 1 index get PATsc PaintData exch get
- gsave currentdict UserProc grestore } for end } bind def } if
- currentdict end exch makepattern
- } bind def
-
- /PATsp {
- PATDict begin
- /CColor [ currentcolor ] def
- /CCSpace currentcolorspace def
- end dup /PaintType get 2 eq { exch dup length
- dup 1 eq { [/Pattern /DeviceGray] setcolorspace } if
- dup 3 eq { [/Pattern /DeviceRGB] setcolorspace } if
- 4 eq { [/Pattern /DeviceCMYK] setcolorspace } if
- aload length 1 add -1 roll } if setpattern
- } bind def
-
- /PATusp {
- PATDict begin CCSpace setcolorspace CColor aload pop setcolor end
- } bind def
-
- %%EndResource
-
- } if Level2 not { restore } if
- %%BeginProcSet: FormZ_procs
-
- /bit_string 8 string def
- /bit_pattern { bit_string copy pop 9 dict begin
- /PatternType 1 def /PaintType 2 def /TilingType 1 def
- /BBox [ 0 0 1 1 ] def /XStep 1 def /YStep 1 def /Bitmap bit_string def
- /Matrix [8 0 0 -8 0 8] def /PaintProc {
- begin 8 8 true Matrix { Bitmap } imagemask end } bind def currentdict end
- gsave